package com.company.calendar.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 导入历史实体类
 * 
 * @author System
 * @since 1.0.0
 */
@TableName("import_history")
@Data
public class ImportHistory {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    @TableField("company_id")
    private Long companyId;
    
    @TableField("import_type")
    private String importType;
    
    @TableField("file_name")
    private String fileName;
    
    @TableField("import_count")
    private Integer importCount = 0;
    
    @TableField("success_count")
    private Integer successCount = 0;
    
    @TableField("fail_count")
    private Integer failCount = 0;
    
    @TableField("import_time")
    private LocalDateTime importTime;
    
    private String status = "SUCCESS";
    
    @TableField("error_message")
    private String errorMessage;
}


